const Router = require('koa-router')
const loginController = require('../api/loginController')
const router = new Router()
router.prefix('/login')
router.post('/forget', loginController.forget)
router.post('/login', loginController.login)
router.post('/register', loginController.register)
router.post('/unique', loginController.isUnique)
module.exports = router
